﻿@model List<decimal>

<script src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
<div id="map_canvas"></div>

<script type="text/javascript">
    function initialize() {
        var mapCanvas = document.getElementById('map_canvas');
        var mapOptions = {
            center: new google.maps.LatLng(@Model[0], @Model[1]),
            zoom: 15,
            mapTypeId: google.maps.MapTypeId.HYBRID 
        }

        var map = new google.maps.Map(mapCanvas, mapOptions);

        var iconBase = 'https://maps.google.com/mapfiles/kml/shapes/';

        var marker = new google.maps.Marker({
            position: new google.maps.LatLng(@Model[0], @Model[1]),
            map: map,
            title: "Borviz"
        });

    }

    google.maps.event.addDomListener(window, 'load', initialize);
</script>

